package com.ruoyi.crop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.crop.api.domain.Crop;
import com.ruoyi.crop.mapper.CropMapper;
import com.ruoyi.crop.service.CropService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86178
* @description 针对表【src_crop(农作物主表)】的数据库操作Service实现
* @createDate 2024-07-22 21:43:28
*/
@Service
public class CropServiceImpl extends ServiceImpl<CropMapper, Crop>
    implements CropService{

    @Override
    public List<Crop> selectCropList(Crop crop) {
        return baseMapper.selectCropList(crop);
    }

    @Override
    public List<Crop> listByTypeId() {
        return baseMapper.listByTypeId();
    }
}




